import Http from '@/common/http'

export default {

  getInfo: sn => Http.get('/order/info', { sn }),

  getConfirm: (item_id, item_type) => Http.get('/order/confirm', { item_id, item_type }),

  create: params => Http.post('/order/create', params),

  cancel: sn => Http.post('/order/cancel', { sn })

}
